var http=require("http");
http.createServer(function (request,response) {
    response.writeHead(200,{'Content-type':'text/plain'});
    response.end("hello world\n");

}).listen(8888);
console.log("Server running at 8888")